﻿<!DOCTYPE html>
<html lang="en">
<#include "../include/resource-head.ftl"/>
<body>
<div class="main-container" id="main-container">
    <div class="main-container-inner">
        <div class="page-content">
            <div class="row">
                <div class="col-xs-12">
                    <div class="form-search">
                        <form role="form" class="form-inline clearfix" id="form2" action="">
                            <div class="input-group col-xs-2">
                                <span class="input-group-addon">用户名</span>
                                <input type="text" class="form-control" name="username" value="${username!}">
                            </div>

                            <div class="input-group col-xs-2">
                                <span class="input-group-addon">鲜花名</span>
                                <input type="text" class="form-control" name="goodsname" value="${goodsname!}">
                            </div>

                        </form>
                        <div class="form-tool btn-group">
                            <button class="btn btn-sm btn-success" form="form2">
                                <i class="icon-search"></i>搜索
                            </button>
                        </div>
                    </div>
                    <div class="table-responsive">
                        <table id="sample-table-1" class="table table-striped table-bordered table-hover">
                            <thead>
                            <tr>
                                <th>鲜花名</th>
                                <th>用户名</th>
                                <th>数量</th>
                                <th>价钱</th>
                                <th>状态</th>
                                <th>添加时间</th>
                            </tr>
                            </thead>
                            <tbody>
                            <#list pageInfo.list as item>
                            <tr>
                                <td>${item.goodsname!}</td>
                                <td>${item.username!}</td>
                                <td>${item.count!}</td>
                                <td>${item.price!}</td>
                                <td>${item.status!}</td>
                                <td>${item.addtime?string('yyyy-MM-dd HH:mm:ss')}</td>

                            </tr>
                            </#list>
                            </tbody>
                        </table>
                    <#include "../include/table-page.ftl"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>

</body>
<#include "../include/resource-script.ftl"/>

</html>

